home *** CD-ROM | disk | FTP | other *** search
- .m1 4
- .m4 4
- .pl 66
- .ll 72
- .tr ~
- .ic ^^
- .pc #
- .at (oc) .oc - option list entry
- .br
- .ne 5
- .ti 3
- #1
- .in 7
- .fi
- .br
- .en (oc)
- .at (jf) .jf - Turn journ Off!
- .sp 1
- .in -5
- .fi
- .en (jf)
- .at (jn)
- .br
- .ne 5
- .sp 1
- .in +5
- .nf
- .en (jn)
- .at (pg) .pg - Start paragraph
- .sp 1
- .ne 2
- .ti +5
- .en (pg)
- .at (sb) .sb - Start subsection
- .sp 2
- .ne 4
- .us
- #1
- .sp
- .ti +5
- .en (sb)
- .ef ''- % -''
- .of ''- % -''
- Honeywell GCOS Kermit
- .br
- Version 1.1
- .br
- January 1985
- .sp
- .pg
- This writeup describes the features and use of Kermit-GCOS, a program for
- Kermit protocol file transfers. Kermit-GCOS runs under the Honeywell
- GCOS time sharing system (TSS) and should normally be installed
- on the TSS command library as file CMDLIB/KERM
- to run as the TSS command KERMIT.
- It can, however, be placed on any user catalog and run
- as a TSS user program.
- Kermit-GCOS was written by John Huxtable, University of Kansas
- Academic Computing Services.
- .pg
- On first reading, you may want to skip many of the sections which
- provide detailed information and look at only the overview and example
- sections. Before using Kermit-GCOS, however, you
- should go back and read the full writeup.
- .sb 1.1.1.~What~is~Kermit?
- Kermit is a protocol designed for reliable file transfer between
- computers.
- The transfer takes place through a standard RS-232 communications
- port,
- allowing implementation of Kermit transfer programs on most computers.
- Although Kermit is technically the name of the transfer protocol,
- it is common practice
- to refer to both the protocol and programs which use the protocol
- as Kermits;
- this will be done through the remainder of this writeup.
- .pg
- Kermit development started at the Columbia University Center for Computing
- Activities in 1981.
- The primary developers were Bill Catchings
- and Frank da Cruz.
- Since that time the protocol has been extended and implemented for
- many systems.
- Persons interested in how the protocol works should read
- articles in the June and July 1984 issues of
- .ul
- Byte
- magazine which describe it in some detail.
- .pg
- In order to transfer a file with Kermit,
- Kermit must be running on
- both the sending and receiving computers.
- One Kermit
- (called "local Kermit")
- must be able to establish the connection
- with the other Kermit
- (called "remote Kermit").
- In the case of transfer between a microcomputer
- and a mainframe this is generally done by the microcomputer Kermit
- acting as a terminal as well as providing file transfer capability.
- .pg
- Microcomputer versions of Kermit are available from many bulletin
- board systems. A tape containing all "known" versions of Kermit can
- be obtained from Columbia University.
- For current ordering information contact:
-
- KERMIT Distribution
- Columbia University Center for Computing Activities
- 7th Floor, Watson Laboratory
- 612 West 115th Street
- New York, N.Y. 10025
- .sb 1.1.2.~Syntax~Conventions
- To show the syntax of commands and responses
- this writeup uses the following conventions:
- .pg
- Angle brackets surround a description of
- what should be typed.
- For example,
- .jn
- <option>
- .jf
- means to type a Kermit option;
- it does
- .ul
- not
- mean type "<option>" literally.
- .pg
- Square brackets surround an optional item.
- For example,
- .jn
- Kermit [<command>]
- .jf
- means type "Kermit",
- optionally followed by some command.
- If a "*" follows the closing square bracket,
- it means "zero or more".
- For example,
- .jn
- Kermit [<option>]*
- .jf
- means type "Kermit" followed by zero or more options.
- .pg
- Control sequences
- are shown using
- the convention that
- "^^x" means
- "hold the control key down,
- press the 'x' key,
- then release both keys."
- For example,
- when asked to type
- .jn
- ^^]
- .jf
- hold the control key down and push the ] key.
- .pg
- When a keyword appears in a syntax description,
- the letters which appear in uppercase must be typed.
- The letters which appear in lower case
- are optional.
- Digits and special characters must be typed.
- For example:
- .jn
- +OverWrite
- .jf
- indicates that "+", "O" and "W" MUST be typed;
- the letters "ver" and "rite" are optional.
- The minimum entry to invoke this option would be:
- .jn
- +ow
- .jf
- Note that the characters may be entered in either case;
- the case in the syntax description is merely a method
- to indicate which characters are required.
- .sb 1.1.3.~GCOS~File~Formats
- GCOS uses many different methods of storing and accessing files.
- Since other systems do not necessarily support analogs of GCOS formats,
- three file formats have been defined to handle all cases.
- .pg
- The default format is "Text".
- This is the standard format used for text files in GCOS TSS.
- When Kermit-GCOS transmits a text file, it removes GCOS file control
- and record control words from the file and transmits a carriage-return,
- line-feed sequence at the end of each record. It also deletes the
- high (9th) bit of each nine-bit byte.
- These bits are always zero in a text file
- so no information is lost.
- When Kermit-GCOS receives a file in text format, it adds a zero high (9th) bit
- to each byte so that four fit evenly into each 36-bit Honeywell word.
- It also converts the carriage-return, line-feed sequence at the end of
- each record into Honeywell record control information and stores the
- file in GCOS system standard TSS format.
- Files transmitted to GCOS can
- always be stored in text format even if the file content is eight-bit
- data, such as a .COM or .EXE file from a microcomputer.
- When transferred from GCOS to a system of the originating type, such
- files will be restored exactly to their original form.
- Text is the most convenient format to use for
- files transferred to GCOS for archival purposes.
- .pg
- The second format is "BYtestream".
- A bytestream file is the best format to use
- when sending non-text (binary) files, such as eight-bit telemetry data,
- from other systems to GCOS for processing on GCOS.
- The data is stored with no record structure,
- i.e. only the bytes received with no added "control" information.
- As in text mode,
- Kermit-GCOS adds a high-order zero bit to each incoming eight-bit
- character, to align on nine-bit Honeywell byte boundaries with
- four characters per 36-bit word.
- The unused portion of the last 1280-byte block of the file is filled with
- zeros (ASCII nulls).
- When transmitting a bytestream file, Kermit-GCOS strips the high-order bit
- from each 9-bit byte, and transmits the full file including any trailing
- zeros (nulls) which pad the last block.
- The Bytestream option automatically sets the +Random option
- since bytestream files must be accessed in random (direct
- access) mode.
- .pg
- The third format is "BItstream".
- A bitstream file also contains data only, with no control information.
- It is different from bytestream in that
- each nine eight-bit bytes received are packed into two 36-bit Honeywell
- words. During transmission, each pair of Honeywell words is unpacked
- into nine eight-bit bytes.
- This format permits transmitting
- and receiving GCOS files, such as random libraries, which use all
- 36 bits in each word.
- Bitstream format is useful for archiving binary GCOS files on other
- systems. One of the other two formats should be used for most other
- purposes. Bitstream files should be accessed in random (direct access)
- mode.
- Specifying Bitstream format automatically implies the +Random option.
- .sb 1.1.4.~GCOS~Data~Transfer~Modes
- Kermit-GCOS can operate in two communications modes. One mode
- receives packets as standard ASCII input, with a carriage return
- (decimal 13) used to end each packet; the other receives packets
- using "paper-tape" mode, with an ASCII DC3 character (also known
- as XOFF, ^^S, decimal 19, or hexadecimal 13)
- used to end each packet.
- Which mode you should use depends on your GCOS site's system configuration.
- .pg
- Between your local Kermit and Kermit-GCOS is a Honeywell
- communications computer, called a front-end processor.
- One of the Honeywell front-end software programs is called GRTS.
- GRTS uses the at-sign (@) as a character delete code for normal input
- and provides no way to change this.
- For example, the character sequence "ABC@@D" would be received through
- GRTS as "AD".
- Since the Kermit protocol requires that all printable ASCII characters
- (including @) can be sent and received,
- by default Kermit-GCOS uses paper-tape mode to read packets.
- In paper-tape mode, "@" is treated as a normal printing character.
- In this mode, however, the end of input is indicated by an ASCII DC3
- character (XOFF) instead of a carriage return.
- This means that before beginning a file transfer you must set the
- send end of line character for your local Kermit to this value.
- .pg
- Honeywell's newer front end software has the ability
- to change the character delete code.
- If you change it to a non-printing ASCII character
- (e.g. backspace or delete)
- then you need not use paper-tape mode.
- For non-paper-tape input mode, your local send end of line character
- should be a carriage return. This is the default for most versions
- of Kermit.
- To select this mode for Kermit-GCOS use the -TapeMode option which
- is described in the option section below.
- .pg
- Unless you must operate in paper-tape mode, it is best to use the
- -TapeMode option. Tape mode prohibits the use of XON/XOFF flow
- control, since the XOFF control would also signal the end of a
- packet. In general, GRTS does not support flow control; however,
- if your site has implemented flow control for GRTS, sending a Kermit packet
- while Kermit-GCOS is not in a receive state would lock the line. You
- would then have to escape to interactive mode, type ^^Q^^D^^S to
- regain control, and restart the file transfer from the beginning.
- .pg
- Flow control can also be a problem if your connection to GCOS is
- through a network. To use tape mode through a
- network it must not depend on XON/XOFF control for blocks the size
- of Kermit packets (up to 96 characters).
- You may need to set network parameters to pass XOFF as data. Consult
- with local support staff or see local documentation if your
- connection is through a network.
- .pg
- Finally, whenever GRTS is ready for input it sends an ASCII DC1
- character. If your local Kermit has an option for DC1 (^^Q or XON)
- handshaking, you should select it, especially if you are using tape mode.
- .sb 1.2.1.~An~Overview~of~Kermit-GCOS
- This section presents a summary of the features of Kermit-GCOS.
- It assumes you are already familiar with
- some basic information about GCOS time-sharing, such as how to log on
- and off.
- If you are not,
- then first read appropriate documentation for these
- topics.
- .pg
- Kermit-GCOS operates as a remote version only.
- That is,
- it never originates a connection.
- It must be called by Kermit running on another system,
- usually a microcomputer Kermit in local mode acting as a terminal.
- .pg
- Commands and options to control Kermit-GCOS can be supplied on
- the command line, entered following prompts in interactive
- mode, or sent from your local Kermit through the use of the
- Kermit-GCOS server mode.
- .pg
- Multiple files can be transmitted by supplying a list of names
- through the index file option. Separate file format options can be
- given for each entry in the index file.
- .pg
- A working directory can be defined as the default location for
- files to be sent or received. The working directory is internal to
- Kermit-GCOS. It is not dependent on the working directory facility
- introduced recently in GCOS.
- .sb 1.2.2.~Invoking~Kermit-GCOS
- To start Kermit-GCOS,
- enter the following command line:
- .jn
- KERMit [<kermit~command>] [<option>]*
- .jf
- where the "<kermit~command>"
- is an optional Kermit command.
- If you do not specify a command,
- Kermit will enter interactive mode,
- prompting you for commands.
- If you do specify a command,
- Kermit will execute the command
- and then end.
- If options are given but no command,
- Kermit sets the options
- and enters interactive mode
- (see
- Kermit Options,
- below).
- .sb 1.2.3.~Kermit~Commands
- Kermit-GCOS recognizes the following commands:
- .sp
- .oc ?~--~Print~a~List~of~Commands~Recognized
- Typing a "?" as a command will cause a list
- of recognized commands to be printed.
- .sp
- .oc Done~--~Exit~Kermit
- Done
- .sp
- The Done command exits Kermit.
- You may also type "Exit" or "Quit".
- .sp
- .oc Help~--~Provide~Basic~Explanations
- Help <command>
- .br
- Help <option>
- .sp
- The Help command prints information about the
- <command> or <option> specified.
- Specifically,
- the relevant portion of this document is printed.
- .sp
- .oc Receive~--~Receive~a~file
- Receive [<option>]*
- .sp
- The Receive command causes Kermit-GCOS
- to wait for files to be sent from the local Kermit.
- The files will be created or accessed according to the current
- option settings,
- unless overridden on the command line
- (see
- Kermit Options,
- below).
- .sp
- .oc SENd~--~Send~a~File
- SENd [<filespec>]* [<option>]*
- .sp
- A <filespec> is either the name of a file to send
- or "indeX=filename"
- where the file contains Kermit SENd command options and filespecs.
- .pg
- The SENd command causes Kermit-GCOS
- to send files to the local Kermit.
- The files will be sent according to the current option settings,
- unless overridden on the command line
- or in an index file.
- Kermit-GCOS will wait for the number of seconds
- specified in the Delay option
- before starting to send the files.
- This allows you time to escape back to your local Kermit
- and type RECEIVE.
- .sp
- .oc SERver~--~Enter~Server~Mode
- SERver [<option>]*
- .sp
- The SERver command causes Kermit-GCOS
- to enter server mode.
- While in server mode,
- Kermit-GCOS will wait for commands from
- your local Kermit.
- When a command is received,
- it is executed.
- Server mode is the preferred mode
- of operation,
- although not all local Kermits support it.
- If your local Kermit supports server mode,
- you should use it.
- The use of server mode is detailed more fully below.
- .sp
- .oc SET~--~Set~Kermit~Options
- SET [<option>]*
- .sp
- The SET command causes Kermit to set its options
- as you specify on the command line.
- Normally,
- options given on a command line
- apply only to that command.
- A SET command causes them to change until a later SET command is given.
- .sp
- .oc STatus~--~Print~Options~Status
- STatus
- .sp
- The STatus command causes Kermit-GCOS
- to print a list of the current option settings.
- .in 0
- .an (pgse) 0
- .sb 1.2.4.~Kermit~Options
- .an (pgse) 1
- The following options are recognized (default settings are shown in
- parentheses):
- .jn
- ?
- CWD=pathname
- DeBug=function (Off)
- Delay=nn (10)
- (+|-)Discard (-)
- Format=fileformat (Text)
- indeX=filename
- (+|-)OverWrite (-)
- (+|-)Permanent (+)
- (+|-)Random (-)
- SendEndOfLine=nn (13)
- SendStartofPacket=nn (1)
- (+|-)TapeMode (+)
- .jf
- .ne 10
- .sp
- Options:
- .sp
- .oc ?
- causes a list of the allowed options for the command given
- to be printed.
- .oc CWD=pathname
- sets the Kermit working directory to the specified path. By
- default, your working directory is your USERID. It can be
- changed to any catalog or subcatalog where you want files
- placed by default.
- .oc DeBug=function
- specifies how much debugging information is to be
- written to the debug file "kerm*dbg".
- The default is "Off", which means that no debugging information
- will be written.
- "States" causes the current protocol state to be written
- when it changes.
- "Packets" causes each packet sent or received to be written.
- "All" causes all possible debug information to be written.
- This information is rarely useful,
- unless you suspect that your communications line
- is noisy and wish to inspect what is being sent.
- .oc Delay=nn
- causes Kermit to wait nn seconds before sending the first packet
- when using the SENd command.
- The default is 10 seconds.
- .oc +Discard
- causes Kermit to discard an incomplete transmission.
- If you interrupt the transmission of a file,
- the file will not be created on GCOS.
- If -OverWrite is in effect,
- the previous contents will be unchanged.
- .oc Format=fileformat
- causes any file transferred in either direction
- to be treated according to the file format specified.
- The formats are "Text", "BYtestream", and "BItstream".
- See the section on file formats.
- The default is Text.
- .oc indeX=filename
- specifies a file containing
- Kermit SENd commands and options,
- one command per line.
- This option permits sending multiple files with a single command.
- This option is analgous to the "wildcard send" feature of some Kermits
- in that it allows transfering multiple files easily. It
- was selected for Kermit-GCOS because GCOS does not support wildcard names,
- and allowing an index file of names provides additional
- flexiblity in sending dissimilar names.
- This option is only meaningful when used with the Kermit SENd command,
- or from "GET" commands received in Server Mode.
- Only the "Format=", +Random, +Discard,
- -Permanent and +OverWrite options
- may be used in index files.
- .oc +OverWrite
- causes an existing file of the same name to be overwritten.
- The default is -OverWrite,
- which causes the incoming file to be renamed
- to avoid conflicts.
- The file is renamed by appending "_n"
- to the file,
- where n is the smallest digit not resulting in a clash.
- If the filename is too long,
- the underscore will be omitted.
- If the filename is still too long,
- characters will be deleted from the end
- until it fits.
- .oc -Permanent
- causes Kermit to use standard GCOS rules
- for creating/accessing files.
- So if there are no slashes or dollar signs
- in the filename and if the filename is less than or
- equal to eight characters long,
- and if a quick access file of the same name does not
- already exist,
- the file will be created as temporary.
- Otherwise it will be created as permanent.
- If +Permanent
- (the default)
- is used,
- the file will always be created/accessed as permanent.
- .oc +Random
- causes Kermit to access the file as random.
- The default is sequential, or -Random.
- For non-text files, +Random must be specified.
- .oc SendEndOfLine=nn
- causes Kermit to terminate its outgoing packets
- with the ASCII character whose decimal value is nn.
- Example:
- SendEndOfLine=26
- would cause Kermit to terminate its outgoing packets with a ^^Z
- (decimal ASCII value = 26).
- The default is carriage return
- (value = 13).
- .oc SendStartofPacket=nn
- causes Kermit to start its outgoing packets
- with the ASCII character whose decimal value is nn.
- Example:
- SendStartofPacket=26
- would cause Kermit to start its outgoing packets
- with a ^^Z
- (decimal ASCII value = 26).
- The default is ^^A (value = 1).
- .oc -TapeMode
- causes Kermit to use standard GCOS terminal input mode
- instead of "paper tape" input mode to read incoming packets.
- See the GCOS Data Transfer Modes section, above, for more information.
- The default, +tapemode, must be used at sites where the
- character delete code is "@" because Kermit requires the
- ability to send and receive all printable ASCII characters.
- .in 0
- .sb 1.2.5.~Server~Mode
- Kermit-GCOS server mode enables Kermit-GCOS to receive commands
- through packets from your local Kermit if it supports server mode.
- This eliminates the need to switch back and forth between
- terminal mode and local mode each time you start a file transfer.
- .pg
- In addition to the file transfer commands, GET and SEND,
- Kermit-GCOS Server mode supports
- several generic commands defined in the Kermit protocol.
- A short list of the commands as given
- in the Kermit Protocol manual follows.
- Be warned that not all Kermits support all
- Server commands,
- and even if a Kermit does support a command,
- it may not be invoked with the same name
- as another Kermit's.
- For example,
- the "erase" command,
- which releases files,
- is called the "remote delete" command
- by Kermit-MS.
- Read the documentation for your microcomputer Kermit
- for details.
- .sp
- The following server commands are supported:
- .jn
- CWD - Change Working Directory
- Erase - Release a file
- Finish - Terminate Server Mode
- Get - Receive a file from GCOS
- Logout - Terminate Kermit and Disconnect from TSS
- Send - Send a file to GCOS
- Status - Query Kermit-GCOS Status
- Type - List a file.
- .jf
- The following descriptions
- of server mode commands
- apply to Kermit-MS.
- .sp
- .oc Bye
- This command ends your GCOS session for you
- and in addition, exits Kermit.
- You will then be back in MS-DOS.
- .sp
- .oc CWD
- This command is used to change your working directory
- (catalog).
- By default,
- your working directory is your userid,
- so any files that you send will be
- created under your userid but not under any catalog.
- Suppose you wanted to send your files to a subcatalog on
- your account called "/microfiles".
- You would enter
- .jn
- REMote CWD /microfiles
- .jf
- in Kermit-MS,
- enter a RETURN to the "Password:" prompt,
- and then use the "send" command.
- Any files sent would be placed under the "/microfiles" catalog.
- Typing "REMote~CWD" with no catalog specified
- causes your current working catalog to be displayed.
- .sp
- .oc Erase
- Erase is used to delete a file from your GCOS current working directory.
- You must enter
- .jn
- REMote DELete <filename>
- .jf
- to invoke this command.
- Erasing multiple files with one command is not supported.
- .sp
- .oc Finish
- This command tells Kermit-GCOS to exit server mode.
- This is useful if you want to resume using Kermit-MS as
- a terminal after doing some file transfers.
- Just enter "Finish",
- then "connect",
- then enter a RETURN and you will be back
- at star-level on GCOS.
- .sp
- .oc Get
- To download (get) a file from GCOS to the microcomputer,
- enter
- .jn
- GET pathname
- .jf
- where "pathname" specifies the GCOS file you want to get.
- The file name at the end of "pathname"
- will be used as the MS-DOS file name.
- To give the MS-DOS file a different name,
- enter
- .jn
- GET
- .jf
- Kermit-MS will prompt for "Remote~Source~File:~".
- You should respond with the pathname of the GCOS file.
- Kermit-MS will then prompt for "Local~Destination~File:~".
- You should respond with the MS-DOS name under which
- you wish the file to be saved.
- The remote file may be an index file.
- If you type
- .jn
- get index=/mylist
- .jf
- this indicates that the GCOS file "/mylist" contains
- the names of files to be sent.
- .sp
- .oc Logout
- This command ends your GCOS session for you but
- does not exit Kermit.
- .sp
- .oc Send
- To upload (send) a file from Kermit-MS to Kermit-GCOS,
- enter
- .jn
- SEND <filespec> [<GCOS filespec> [<option>]*]
- .jf
- where "<filespec>" may contain MS-DOS wild-card characters to
- specify more than one file.
- For example,
- .jn
- SEND *.txt
- .jf
- will send all files that have the extension "txt".
- Since the question mark ("?") is used within Kermit-MS
- to obtain help,
- you must use the equal sign ("=") for single-character
- wild-cards.
- .pg
- The <GCOS~filespec> may be a list of filenames
- and index files
- (see SEND in the commands section).
- .sp
- .oc Status
- This command displays the current status of Kermit-GCOS.
- This Server mode command is not currently
- supported by Kermit-MS,
- so there is no way to invoke it.
- .sp
- .oc Type
- To display the contents of a GCOS file,
- enter
- .jn
- REMote TYPE <filename>
- .jf
- and the file will be printed,
- maddenly slowly,
- on your screen.
- .in 0
- .br
- .sb 1.3.1.~Sample~Kermit~Sessions
- You must always begin a Kermit transfer by starting your local
- Kermit and setting local options, then connecting to TSS.
- The local options available and how to set them will depend on
- what computer and version of Kermit you are using.
- However, some options must
- be set correctly before a connection can be established
- and before file transfer is possible. These include baud rate,
- local end of line, and local echo.
- .pg
- The following
- sample session with Kermit-MS and Kermit-GCOS
- downloads (gets) a file from GCOS
- to MS-DOS.
- The example assumes that drive "A"
- is your default drive
- and that it contains a disk with
- the MSKERMIT program.
- User input is underlined.
- The sequence ^^]C refers
- to "control-]" followed by "C",
- i.e. hold the control key down
- and press the ] key
- then release the control key and type a "C".
- For other versions of microcomputer Kermit, the details will be different.
- .pg
- This session transfers the GCOS file "myfile" under subcatalog "mycat"
- of your logon userid to the MS-DOS file "dosfile.txt" using a 1200 baud
- connection to a GCOS system which uses "@" as the character
- delete symbol.
- .jn
- A>_m_s_k_e_r_m_i_t
- IBM-PC Kermit-MS V2.26
- Type ? for help
-
- Kermit-MS>_s_e_t_ _b_a_u_d_ _1_2_0_0
- Kermit-MS>_s_e_t_ _l_o_c_a_l_-_e_c_h_o_ _o_n
- Kermit-MS>_s_e_t_ _e_n_d_-_o_f_-_l_i_n_e_ _1_9
- Kermit-MS>_c_o_n_n_e_c_t
-
- [Connecting to host, type control-] C to return to PC]
- .us
- RETURN
-
- HIS TIME-SHARING SYSTEM mm/dd/yy hh.mmm CHANNEL xxxx
-
- USERID- _u_s_e_r_i_d_$_p_a_s_s_w_o_r_d
- *_k_e_r_m_i_t_ _s_e_r_v_e_r
- Kermit-GCOS: Version 1.0
-
- Entering Server Mode.
- Escape back to your local KERMIT and use server commands.
- To exit Server Mode, enter the FINISH command from your local KERMIT.
- To exit KERMIT in an emergency, enter control-D control-S (^^D^^S)
- _^^_]_C
- Kermit-MS>_g_e_t
- Remote Source File: _/_m_y_c_a_t_/_m_y_f_i_l_e
- Local Destination File: _d_o_s_f_i_l_e_._t_x_t
-
- <Here follows the file transfer>
-
- Kermit-MS>_b_y_e
- A>
- .jf
- .pg
- The next example shows the same file transfer using version 1.20 of
- Kermit-PC without server mode. This transfer is to a GCOS system which
- accepts "@" as character data, so it uses the -TapeMode option.
-
- .jn
- A>_k_e_r_m_i_t
- CUCCA IBM-PC Kermit-PC Version 1.20
-
- Kermit-PC>_s_e_t_ _b_a_u_d_ _1_2_0_0
- Kermit-PC>_s_e_t_ _l_o_c_a_l_ _o_n
- Kermit-PC>_c_o_n_n_e_c_t
- [Connecting to host. Type CTRL-]C to return to PC.]
-
- _R_E_T_U_R_N
-
- HIS TIME-SHARING SYSTEM mm/dd/yy hh.mmm CHANNEL xxxx
-
- USERID- _u_s_e_r_i_d_$_p_a_s_s_w_o_r_d
- *_k_e_r_m_i_t_ _-_t_m
- Kermit-GCOS: Version 1.0
- Kermit-GCOS>_s_e_n_d_ _/_m_y_c_a_t_/_m_y_f_i_l_e
- Escape back to your local KERMIT and enter RECEIVE mode.
- _^^_]_C
- Kermit-PC>_r_e_c_e_i_v_e_ _d_o_s_f_i_l_e_._t_x_t
-
- <Here follows the file transfer>
-
- Kermit-PC>_c_o_n_n_e_c_t
- _R_E_T_U_R_N
- *_b_y_e
- <GCOS logoff summary>
- _^^_]_C
- Kermit-PC>_e_x_i_t
- A>
- .jf
- .pg
- Transferring a file from your microcomputer to GCOS is similar, but
- you would enter a RECEIVE command for Kermit-GCOS (or place it in
- server mode), then escape back to your local Kermit
- and enter a send command.
- .bp
- .sb 1.4.1.~Bootstrapping~Kermit-GCOS
- There are three different ways which you may obtain Kermit-GCOS:
- through the HLSUA library, from Columbia University, or over a
- telecommunications line.
- .pg
- The easiest is through the HLSUA library as a FILSYS save tape.
- Installation instructions accompany the tape.
- .pg
- The Columbia University CUCCA Kermit distribution tape contains
- five files for Kermit-GCOS. These are:
-
- Name Lines Content
-
- HDPS8.B 3489 B language source for Kermit-GCOS
- HDPS8.DOC 924 This documentation in printable form
- HDPS8.PAK 1957 Kermit-GCOS H* in packed text format
- HDPS8.ROF 915 This documentation in ROFF input form
- HDPS8.FTN 122 Fortran program to convert .PAK file to H*
-
- All five files are in text format.
- The first step in installing Kermit-GCOS is, of course, to copy these
- files from the tape to disk.
- .pg
- Since the Columbia tape cannot contain a Honeywell
- random binary file, Kermit is provided in packed
- ASCII text form (HDPS8.PAK) along with a Fortran program (HDPS8.FTN)
- which documents the packed format and converts the packed file
- into Honeywell executable (H*) format.
- Create a 65 block random file to hold the H* and
- run the following job:
-
- $$t(;)
- $;ident;userid,banner
- $;option;fortran
- $;use;.gtlit
- $;fortran;ascii,xref,optz
- $$select(userid/hdps8.ftn)
- $;execute
- $;prmfl;01,w,r,userid/kermit
- $;prmfl;02,r,s,userid/hdps8.pak
- $;endjob
- .pg
- After this job runs, copy file "userid/kermit" to "cmdlib/kerm" to
- make Kermit available through the command library.
- .pg
- The packed text file contains a checksum byte on each line, and does not
- contain and GRTS character delete codes (@), so it can be sent to
- GCOS over a telecommuncations connection using any ASCII file
- transfer program. The installation process
- for generating an H* file is the same as described above.
- The program will print warning messages if any checksum errors are
- encountered.
- .sb 1.4.2.~Setting~Local~Options
- Kermit-GCOS contains three flags to enable setting local options.
- As distributed, all three flags are set to false.
- The flags allow setting the default working directory to the
- current TSS working directory instead of the USERID when entering
- Kermit, enabling the server command for remote directory, and enabling
- the server command for remote space information. You should enable
- remote directory only if you have the LC command which is distributed
- with the B language package written at the University of Waterloo.
- You should enable the remote space command only if you have replaced
- the standard Honeywell SMCL command with a version which permits
- directing output to a file with "SMCL >filename".
- You should enable the working directory switch only if your site
- has enabled the Honeywell TSS working directory feature. Note that
- Kermit working directories can be used regardless of the setting of
- this switch-- it controls only the default working directory on
- entry to Kermit.
- .pg
- After running HGUNPACK to convert the Kermit packed text file into
- an H*, you can use LODX to modify the flag locations to match local
- capabilities. The flag addresses are
-
- Address (Octal) Content
- 000153 wat_lc
- 000154 wat_smcl
- 000155 wat_cwd
-
- All values are initially false (zero).
- The following example enables remote directory and working directory
- initialization.
-
- *_l_o_d_x_ _/_k_e_r_m_i_t
- patch, save or run? _p
- ?_1_5_3_ _1
- ?_1_5_5_ _1
- ?_<_r_e_t_u_r_n_>
- patch, save or run? _s
- patch, save or run?_<_r_e_t_u_r_n_>
- *
- .pg
- These values are declared at the beginning of the EXTRN section of
- the B source code.
- You can adjust the settings for your site there if you recompile
- the source code.
- .pg
- Note that the user documentation describes Kermit with the default
- (false) settings for all three switches.
- That is, it does not list REMOTE DIRECTORY and REMOTE SPACE as
- available server commands, and states that the working directory
- is initially set to the USERID. If you modify these flags, update
- the documentation.
-